package com.twinkle.dao;

import com.twinkle.bean.UserInfo;
import org.apache.ibatis.annotations.Param;

public interface UserInfoDao {
    UserInfo selectUserinfoByUsername(@Param("userInfo") UserInfo userInfo);

//    public List<UserInfo> selectUserinfoAll();

    int insertUserinfo(@Param("userInfo") UserInfo userInfo);

//    public int deleteUserinfo(@Param("userId") Integer para_userInfoId);

    int updateUserinfo(@Param("userInfo") UserInfo userInfo);
}
